import json
dict = {
    "name":"zhangsan",
    "age":13
}


json_data = json.dumps(dict)
print(type(json_data))
print(json_data)

print("=============")

dict_data = json.loads(json_data)
print(type(dict_data))
print(dict_data.get("name"))